package com.example.ruiji.config.swagger;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;

/**
 * Author:BaiYiChen
 * Date:2022/4/19 13:06
 *
 * @author BaiYiChen
 */
@Configuration
public class MySwaggerConfig {
  
  @Bean
  public Docket docket(){
    return new Docket(DocumentationType.SWAGGER_2);
  }
}
